Live Programming for Event-Based Languages Short Paper
نویسندگان
چکیده
Live programming environments assist programmers by allowing code edits to running programs, providing continuous feedback and potentially even traveling back in time to past execution states. Event-based languages like JavaScript facilitate these features, but the entanglement of code, state and output still hinders live programming. This paper shows how hot swapping, time travel and continuous feedback can be achieved by restricting standard JavaScript programs to have a single, pure rendering function and no function values in the global state. Furthermore, we describe this design for general event-based languages and how these properties can be enforced statically or dynamically.
منابع مشابه
The Programming Language as a Musical Instrument
This paper considers how to achieve new creative advances in the design of programming languages. It is based on the analysis of a single application domain, the practice of Live Coding in a new area of musical performance known as “Laptop” music. Analysis of live coding as a context for programming allows us to escape the implicit assumptions of the commercial office environment in which so mu...
متن کاملModeling and Evaluation of Stochastic Discrete-Event Systems with RayLang Formalism
In recent years, formal methods have been used as an important tool for performance evaluation and verification of a wide range of systems. In the view points of engineers and practitioners, however, there are still some major difficulties in using formal methods. In this paper, we introduce a new formal modeling language to fill the gaps between object-oriented programming languages (OOPLs) us...
متن کاملModeling and Evaluation of Stochastic Discrete-Event Systems with RayLang Formalism
In recent years, formal methods have been used as an important tool for performance evaluation and verification of a wide range of systems. In the view points of engineers and practitioners, however, there are still some major difficulties in using formal methods. In this paper, we introduce a new formal modeling language to fill the gaps between object-oriented programming languages (OOPLs) us...
متن کاملScalable Efficient Composite Event Detection
Composite event detection (CED) is the task of identifying combinations of events which are meaningful with respect to programdefined patterns. Recent research in event-based programming has focused on language design (in different paradigms), leading to a wealth of prototype programming models and languages. However, implementing CED in an efficient and scalable manner remains an under-address...
متن کاملReactive Integration for Traditional Programming Languages
Reactive integration based on event broadcast is an increasingly important technique for developing systems. However, the use of this technique has largely been con ned to tool integration systems { in which tools exist as independent processes { and special-purpose languages { in which specialized forms of event broadcast are designed into the language from the start. This paper broadens the c...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2015